textview: fix assertion when toggling caret visibility
authorChristian Hergert <chergert@redhat.com>
Tue, 21 Apr 2020 20:39:50 +0000 (13:39 -0700)
committerChristian Hergert <chergert@redhat.com>
Tue, 21 Apr 2020 20:39:50 +0000 (13:39 -0700)
commit55dd737ea0c2be2a23469680ce10a6026f81f7b2
tree19da13881e239fdec91f604eb2ffe7ddd98074e5
parentc09b5ea7b4922c3c64989acf327e7703ac9f8b83
textview: fix assertion when toggling caret visibility

When toggling caret visibility (with F7) we would hit an assertion if the
cursor is currently blinking. This adjusts things to ensure that we should
be showing the carent when scheduling our blink timeouts.

Fixes #2647
gtk/gtktextview.c